package com.zy.imagineCommunity.entity;

public class Reply {

    private Integer id;

    private int userId;
    //哪个评论下的
    private int commentId;
    //内容
    private String content;

    private String createTime;

    private Integer type;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getCommentId() {
        return commentId;
    }

    public void setCommentId(int commentId) {
        this.commentId = commentId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Reply(Integer id, int userId, int commentId, String content, String createTime, Integer type) {
        this.id = id;
        this.userId = userId;
        this.commentId = commentId;
        this.content = content;
        this.createTime = createTime;
        this.type = type;
    }

    public Reply() {

    }

    @Override
    public String toString() {
        return "Reply{" +
                "id=" + id +
                ", userId=" + userId +
                ", commentId=" + commentId +
                ", content='" + content + '\'' +
                ", createTime='" + createTime + '\'' +
                ", type=" + type +
                '}';
    }

}
